package com.github.xaidanwang.mybatisshardingjdbc.demo.dao;

import com.github.xaidanwang.mybatisshardingjdbc.demo.entity.EventRecord;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

public interface EventRecordMapper {
    int insert(EventRecord record);

    int insertSelective(EventRecord record);

    List<EventRecord> selectByCreateTiem(@Param(value = "startTime") Date startTime, @Param(value = "endTime") Date endTime);
}